import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import {
  BrowserRouter as Router,
  Switch,
  Route
} from "react-router-dom";
import Login from './views/login'
import './index.scss';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(
  <Router>
    <Switch>
      <Route path="/login" component={Login}></Route>
      <Route path="/" component={App}></Route>
    </Switch>
  </Router>,
  document.getElementById('root')
);

serviceWorker.unregister();
